<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>构造函数的继承</p>
    <script>
        // 父级
        function Person (gj) {
            this.gj = gj;
            this.foot = 2;
        }
        // 子集
        function HenanRen() {
            // 继承父级
            Person.call(this, 'c');
            // 核算是否阴影
            this.hesuan = true
        }

        let zzRen = new HenanRen();
        console.log(zzRen);
    </script>
</body>
</html>